const util = {
  getTodayZeroPointTimestamp() {
    let DATE = new Date();
    const year = DATE.getFullYear(),
          month = DATE.getMonth(),
          date = DATE.getDate();
    DATE = new Date(year, month, date, 0, 0, 0, 0);
    return DATE.getTime() - 1000 * 60 * 60 * 8;
  }
}

module.exports = util